Lapo Calamandrei [Thu, 17 Mar 2016 10:36:37 +0000 (11:36 +0100)]
High Contrast: remove an adwaita leftover
... a missing mixin which makes no sense in HC actually.
Lapo Calamandrei [Thu, 17 Mar 2016 09:32:35 +0000 (10:32 +0100)]
Adwaita: fix wide separators
Baurzhan Muftakhidinov [Thu, 17 Mar 2016 03:33:59 +0000 (03:33 +0000)]
Updated Kazakh translation
Baurzhan Muftakhidinov [Thu, 17 Mar 2016 03:33:32 +0000 (03:33 +0000)]
Updated Kazakh translation
Matthias Clasen [Thu, 17 Mar 2016 01:56:33 +0000 (21:56 -0400)]
HighContrast: Fix actionbar borders
Make the selector more specific so that it doesn't affect contained
boxes. Copied from Adwaita.
https://bugzilla.gnome.org/show_bug.cgi?id=763775
Changwoo Ryu [Wed, 16 Mar 2016 19:49:50 +0000 (19:49 +0000)]
Updated Korean translation
Changwoo Ryu [Wed, 16 Mar 2016 19:49:22 +0000 (19:49 +0000)]
Updated Korean translation
Lapo Calamandrei [Wed, 16 Mar 2016 17:06:56 +0000 (18:06 +0100)]
Adwaita: shrink back big standalone osd buttons
Jakub Steiner [Wed, 16 Mar 2016 14:25:28 +0000 (15:25 +0100)]
High Contrast: button metrics
- sync with Adwaita for button definitions
https://bugzilla.gnome.org/show_bug.cgi?id=763706
Jakub Steiner [Wed, 16 Mar 2016 14:15:20 +0000 (15:15 +0100)]
High Contrast: spinbuttons
- sync with Adwaita
https://bugzilla.gnome.org/show_bug.cgi?id=763696
Jakub Steiner [Wed, 16 Mar 2016 13:53:47 +0000 (14:53 +0100)]
High Contrast: circular buttons
- make sure they are visible on selected rows
https://bugzilla.gnome.org/show_bug.cgi?id=763612
Jakub Steiner [Wed, 16 Mar 2016 13:32:14 +0000 (14:32 +0100)]
High Contrast: fix entry and button metrics
- sync with Adwaita
https://bugzilla.gnome.org/show_bug.cgi?id=763610
Lapo Calamandrei [Wed, 16 Mar 2016 12:42:38 +0000 (13:42 +0100)]
Adwaita: remove a nonsensical comment
Lapo Calamandrei [Wed, 16 Mar 2016 12:34:00 +0000 (13:34 +0100)]
High Contrast: keycap styling
sync with Adwaita with some styling tweaks.
Lapo Calamandrei [Wed, 16 Mar 2016 12:11:15 +0000 (13:11 +0100)]
Adwaita: simplify treeview check and radio scss
Jakub Steiner [Wed, 16 Mar 2016 11:57:14 +0000 (12:57 +0100)]
High Contrast: fix metrics for popover menus
- ripped the appropriate bits from Adwaita.
https://bugzilla.gnome.org/show_bug.cgi?id=763609
Jakub Steiner [Tue, 15 Mar 2016 18:22:07 +0000 (19:22 +0100)]
High Contrast: reimplement check and radio
Use a similar structure as Adwaita - using buttons for
radios and checkboxes.
https://bugzilla.gnome.org/show_bug.cgi?id=763707
Timm Bäder [Wed, 16 Mar 2016 09:20:17 +0000 (10:20 +0100)]
scale: Fix value height calculation
if (orientation) doesn't make a lot of sense but C doesn't complain and
instead evaluates orientation to TRUE for GTK_ORIENTATION_VERTICAL
(since that's 1), thus inverting the value sizes.
Lapo Calamandrei [Tue, 15 Mar 2016 18:02:11 +0000 (19:02 +0100)]
Adwaita: notebook better header spacing
added some padding to the header and margins to the tabs node when
it's not the only child.
Jakub Steiner [Tue, 15 Mar 2016 17:27:41 +0000 (18:27 +0100)]
High Contrast: disabled scales more subtle
Make even the tough border subtle to make it distinct from
normal state.
https://bugzilla.gnome.org/show_bug.cgi?id=763613
Lapo Calamandrei [Tue, 15 Mar 2016 16:02:01 +0000 (17:02 +0100)]
Adwaita: fix progressbar in treeviews styling
Lapo Calamandrei [Tue, 15 Mar 2016 15:12:40 +0000 (16:12 +0100)]
Adwaita: add some comments in the GtkScale related scss
Jakub Steiner [Tue, 15 Mar 2016 14:49:25 +0000 (15:49 +0100)]
High Contrast: checkboxes and radios inside treeviews
- fixes hover state of checkboxes and radios inside treeviews
Jakub Steiner [Tue, 15 Mar 2016 13:22:11 +0000 (14:22 +0100)]
High Contrast: reimplement gtk scale
- sync with Adwaita to the new box model
https://bugzilla.gnome.org/show_bug.cgi?id=763613
Matthias Clasen [Tue, 15 Mar 2016 13:03:21 +0000 (09:03 -0400)]
Correct a deprecation note
The CSS equivalent for focus-padding is outline-offset.
Jakub Steiner [Tue, 15 Mar 2016 12:21:15 +0000 (13:21 +0100)]
High Contrast: distinct insensitive button
Tone down insensitive buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=746490
Matthias Clasen [Mon, 14 Mar 2016 23:14:31 +0000 (19:14 -0400)]
3.19.12
Cosimo Cecchi [Mon, 14 Mar 2016 22:41:16 +0000 (15:41 -0700)]
window: stop stomping on resize-mode set by external API
commit
c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of
GtkContainer widgets requesting an IMMEDIATE resize-mode.
However, GtkWindow has been stomping on resize-mode during realize()
since commit
addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination
of factors that led to this not being a visible problem during all this
while is uncertain, but this now causes the Shell to continuously try to
relayout its ShellEmbeddedWindow (a GtkWindow subclass).
This commit separates the resize-mode as set internally by GtkWindow
from the one set with the external API, so that GtkWindow only changes
it when it had not been set before by the subclass.
https://bugzilla.gnome.org/show_bug.cgi?id=763650
Tom Tryfonidis [Mon, 14 Mar 2016 21:03:53 +0000 (21:03 +0000)]
Updated Greek translation
Matthias Clasen [Mon, 14 Mar 2016 19:54:52 +0000 (15:54 -0400)]
Updates
Lapo Calamandrei [Mon, 14 Mar 2016 18:36:12 +0000 (19:36 +0100)]
Adwaita: fix vertical linked spinbuttons
which I broke in a previous commit...
Lapo Calamandrei [Mon, 14 Mar 2016 18:19:43 +0000 (19:19 +0100)]
Adwaita: more drag hilight fixes
Carlos Garnacho [Mon, 14 Mar 2016 17:47:37 +0000 (18:47 +0100)]
GtkScrolledWindow: Do not hover one scrollbar if grabbing on the other
Makes no sense since we're not going to interact with it. It'll be
hovered eventually if the button is released.
Carlos Garnacho [Mon, 14 Mar 2016 18:13:05 +0000 (19:13 +0100)]
GtkScrolledWindow: Check proximity on both indicators on grab-end leave events
The implicit grab may be finished so the pointer lies on top of the other
scrollbar, in this case one scrollbar should lose the hovering state, and
the other should gain it. So we must check for proximity in both indicators.
Lapo Calamandrei [Mon, 14 Mar 2016 17:46:56 +0000 (18:46 +0100)]
Adwaita: use a green (Tango Chameleon 3) for drag hilight
Lapo Calamandrei [Mon, 14 Mar 2016 17:33:40 +0000 (18:33 +0100)]
Adwaita: placessidebar dnd fixes
Руслан Ижбулатов [Mon, 14 Mar 2016 16:14:22 +0000 (16:14 +0000)]
GDK W32: Fix shown window position calculation for dialogs and splashes
Two errors here:
1) A typo in splashscreen rectangle calculation - sets right twice
instead of setting top
2) Centering for dialogs is off because it doesn't convert
GDK virtual desktop coordinates to Windows WM virtual desktop
coordinates by adding _gdk_offset_*
https://bugzilla.gnome.org/show_bug.cgi?id=763628
Lapo Calamandrei [Mon, 14 Mar 2016 16:22:31 +0000 (17:22 +0100)]
Adwaita: places sidebar selected button fix and refactor
Carlos Garnacho [Wed, 9 Mar 2016 16:00:31 +0000 (17:00 +0100)]
gdkdnd: Add private means to commit the drag status
The way gdk_drag_status() may be called multiple times during the
processing of drag and drop events throughout the widget hierarchy
brings some superfluous messaging going in, esp. when it's the last
request the one we want to honor, yet we emit messaging requests on
all.
This is barely appreciable in the X11 backend, but due to the design
of the wayland protocol, quick series of changes like this it have
some self-amplificating consequences which may end up flooding the
connection.
We can delegate this to a late "commit" call, performed within GDK
event management. This way gdk_drag_status() calls may be cached
and only result in windowing messaging once per ::drag-motion or
::drag-data-received event. Emitting the final status will also
avoid spurious action changes on the compositor and the other peer.
https://bugzilla.gnome.org/show_bug.cgi?id=763298
Carlos Garnacho [Wed, 9 Mar 2016 16:43:18 +0000 (17:43 +0100)]
GtkNotebook: Make tab DnD use application/x-rootwindow-drop again
Besides the ::drag-failed handling in order to trigger the window creation
hook, add some handling of the application/x-rootwindow-drop mimetype, so
the same effect is achieved if the tab could be dropped in a destination
accepting this mimetype.
https://bugzilla.gnome.org/show_bug.cgi?id=763387
Carlos Garnacho [Wed, 9 Mar 2016 16:37:27 +0000 (17:37 +0100)]
GtkWindow: Make it an application/x-rootwindow-drop destination
This makes toplevels pseudo-transparent wrt this mimetype, so if
the drag source offers this mimetype and not another that was
managed by the destination-side widget hierarchy, the window will
be an acceptable target for this mimetype, allowing it to trigger
whatever is meant to in the source side.
https://bugzilla.gnome.org/show_bug.cgi?id=763387
Руслан Ижбулатов [Sat, 12 Mar 2016 12:55:24 +0000 (12:55 +0000)]
GDK W32: Fix pointer-under-window code for custom resize
This code:
> gdk_window_get_root_origin (window, &x, &y);
> x -= root_x;
> y -= root_y;
> pointer_window = gdk_device_get_window_at_position (device, &x, &y);
was meant to find the child gdk window at coordinates root_x and root_y.
These 4 lines had 2 bugs:
1) x = x - root_x (same for y) is wrong, it should be x = root_x - x
2) gdk_device_get_window_at_position() does not give you the window
at position x and y. It gives you the window under the device
(mouse pointer) and the returns the device coordinates in x and y.
https://bugzilla.gnome.org/show_bug.cgi?id=763533
Jiro Matsuzawa [Mon, 14 Mar 2016 14:42:48 +0000 (14:42 +0000)]
Updated Japanese translation
Carlos Garnacho [Mon, 14 Mar 2016 14:28:20 +0000 (15:28 +0100)]
gtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo
It is a thing in wayland, which means we leave traces from older
touches when the compositor takes over touch sequences in order
to handle a gesture.
Stas Solovey [Mon, 14 Mar 2016 12:24:40 +0000 (12:24 +0000)]
Updated Russian translation
Lapo Calamandrei [Mon, 14 Mar 2016 09:53:59 +0000 (10:53 +0100)]
Adwaita: more scss refactoring
Lapo Calamandrei [Mon, 14 Mar 2016 09:19:05 +0000 (10:19 +0100)]
Adwaita: refactor entry scss
Balázs Meskó [Mon, 14 Mar 2016 07:57:26 +0000 (07:57 +0000)]
Updated Hungarian translation
Matthias Clasen [Mon, 14 Mar 2016 03:08:47 +0000 (23:08 -0400)]
pathbar: Style slider buttons
Set a style class on the pathbar slider buttons, and have the
theme handle the separately from other image buttons.
Matthias Clasen [Mon, 14 Mar 2016 03:05:54 +0000 (23:05 -0400)]
path bar: Stop mishandling slider buttons
We must call get_preferred_width/height on the slider buttons
before allocating them, otherwise the layout machinery spews
warnings.
Stas Solovey [Sun, 13 Mar 2016 21:04:56 +0000 (21:04 +0000)]
Updated Russian translation
Aurimas Černius [Sun, 13 Mar 2016 19:15:07 +0000 (21:15 +0200)]
Updated Lithuanian translation
Piotr Drąg [Sun, 13 Mar 2016 18:51:57 +0000 (19:51 +0100)]
Updated POTFILES.skip
Jiri Grönroos [Sun, 13 Mar 2016 14:47:41 +0000 (14:47 +0000)]
Updated Finnish translation
Matthias Clasen [Sun, 13 Mar 2016 05:11:52 +0000 (00:11 -0500)]
stack switcher: Support switching during DND
GtkNotebook will switch pages if you hover over a tab
during DND. The same makes sense in GtkStackSwitcher,
so implement it here.
Matej Urbančič [Sat, 12 Mar 2016 21:06:02 +0000 (22:06 +0100)]
Updated Slovenian translation
Lapo Calamandrei [Sat, 12 Mar 2016 18:35:56 +0000 (19:35 +0100)]
Adwaita: some more selector housekeeping
Lapo Calamandrei [Sat, 12 Mar 2016 18:32:42 +0000 (19:32 +0100)]
Adwaita: smarter scss extentions for titlebuttons
Lapo Calamandrei [Sat, 12 Mar 2016 18:25:46 +0000 (19:25 +0100)]
Adwaita: smarter scss extentions on the notebook
avoiding spawning unneeded selectors.
Lapo Calamandrei [Sat, 12 Mar 2016 18:02:48 +0000 (19:02 +0100)]
Adwaita: fix notebook overflow arrows styling
which correctly go :active now, istead of :checked as in the past.
Lapo Calamandrei [Sat, 12 Mar 2016 14:27:53 +0000 (15:27 +0100)]
Adwaita: set back drag hilight color to black
...I erroneusly pushed a test green there, this will probably
change again, but that green wasn't right.
Lapo Calamandrei [Sat, 12 Mar 2016 14:22:35 +0000 (15:22 +0100)]
Adwaita: textview drag hilight
Lapo Calamandrei [Sat, 12 Mar 2016 14:03:07 +0000 (15:03 +0100)]
Adwaita: scss cosmetic fixed
Lapo Calamandrei [Sat, 12 Mar 2016 13:21:01 +0000 (14:21 +0100)]
Adwaita: reset filechooserbutton:drop(active)
Fran Dieguez [Sat, 12 Mar 2016 12:57:00 +0000 (12:57 +0000)]
Updated Galician translation
Fran Dieguez [Sat, 12 Mar 2016 12:55:28 +0000 (12:55 +0000)]
Updated Galician translation
Marek Černocký [Sat, 12 Mar 2016 12:33:35 +0000 (13:33 +0100)]
Updated Czech translation
Руслан Ижбулатов [Sat, 12 Mar 2016 12:14:04 +0000 (12:14 +0000)]
GDK W32: Fix a typo
Matthias Clasen [Sat, 12 Mar 2016 03:44:17 +0000 (22:44 -0500)]
color editor: Improve popup positioning
Don't make the popup follow the slider while it is open; that
makes interaction with it unnecessarily hard. Also move all the
popups inwards a little bit, so they are not flush with the
scales, which looks untidy.
https://bugzilla.gnome.org/show_bug.cgi?id=763380
Matthias Clasen [Sat, 12 Mar 2016 02:40:02 +0000 (21:40 -0500)]
scrolled window: Fix scrollbar size allocation
We were not taking the scrollable borders into account when
requesting size for the scrolled window, which could lead
to underallocating the scrollbars at size allocation time
when we *did* take the borders into account.
This is most notable with treeviews, where we have the
headers as borders, and was causing the treeview-crash-too-wide
reftest to fail.
Matthias Clasen [Fri, 11 Mar 2016 23:30:36 +0000 (18:30 -0500)]
file chooser button: Set a CSS name
This lets us differentiate the main node from regular boxes.
Matthias Clasen [Fri, 11 Mar 2016 23:30:14 +0000 (18:30 -0500)]
Trivial formatting fix
Marek Černocký [Fri, 11 Mar 2016 22:08:07 +0000 (23:08 +0100)]
Updated Czech translation
Matthias Clasen [Fri, 11 Mar 2016 21:46:52 +0000 (16:46 -0500)]
Fix the textview-margins reftest
This test has a word that wouldn't fit in the room we have with
a window width of 100, and then we get clipped in the one case
but not the other. Make the window a little wider, so it fits.
Matthias Clasen [Fri, 11 Mar 2016 21:38:41 +0000 (16:38 -0500)]
Fix a typo
We don't want to get the padding twice.
Matthias Clasen [Fri, 11 Mar 2016 18:52:36 +0000 (13:52 -0500)]
inspector: Reset the treewalk when required
The tree walk holds a tree iter, which will become invalid
when we either remove the row that it points to or remove
all rows.
Reset the tree walk in those cases to avoid a crash that
was pointed out by Bastien Nocera.
Matthias Clasen [Fri, 11 Mar 2016 18:52:09 +0000 (13:52 -0500)]
inspector: Add api to get the current tree walk position
This will be used in the next commit.
Matthias Clasen [Fri, 11 Mar 2016 17:29:51 +0000 (12:29 -0500)]
typo fix
Jordi Mas [Fri, 11 Mar 2016 18:43:33 +0000 (19:43 +0100)]
Update Catalan translation
Timm Bäder [Fri, 11 Mar 2016 18:14:19 +0000 (19:14 +0100)]
range: Fix a few typos
Depreacated -> Deprecated
through -> trough
Sebastien Lafargue [Fri, 11 Mar 2016 18:09:06 +0000 (19:09 +0100)]
textview: Fix drag highlight problems
Piotr Drąg [Fri, 11 Mar 2016 17:30:18 +0000 (18:30 +0100)]
Updated Polish translation
Matthias Clasen [Fri, 11 Mar 2016 17:19:47 +0000 (12:19 -0500)]
Better debug messages for actions
Unify the debug messages between actionhelper and menutracker,
and add some more context to some of them.
Dušan Kazik [Fri, 11 Mar 2016 17:09:01 +0000 (17:09 +0000)]
Updated Slovak translation
Lapo Calamandrei [Fri, 11 Mar 2016 17:02:37 +0000 (18:02 +0100)]
Adwaita: set a min-width on horizontal spinbutton entry
to accomodate at least 3 chars, before overflowing.
Lapo Calamandrei [Fri, 11 Mar 2016 17:01:36 +0000 (18:01 +0100)]
Adwaita: rounded corners for colorscale popup
Benjamin Otte [Tue, 8 Mar 2016 00:47:33 +0000 (01:47 +0100)]
inspector: Widgets update automatically when CSS changes
There's no need to force-invalidate their CSS.
Benjamin Otte [Tue, 8 Mar 2016 04:01:33 +0000 (05:01 +0100)]
cssanimation: Compute progress correctly
We were computing the wrong progress, in particular when the iteration
count was non-integer.
Test included.
Benjamin Otte [Wed, 9 Mar 2016 16:27:01 +0000 (17:27 +0100)]
colorscale: Draw a trough
Make sure the color info is actually drawn inside the trough.
Lapo Calamandrei [Fri, 11 Mar 2016 15:34:30 +0000 (16:34 +0100)]
Adwaita: .osd check|radio style
Daniel Mustieles [Fri, 11 Mar 2016 15:31:32 +0000 (15:31 +0000)]
Updated Spanish translation
Friedrich Beckmann [Thu, 7 Jan 2016 14:51:31 +0000 (15:51 +0100)]
added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures
MacOS provides the NSEventTypeMagnify which is very similar to the
Gtk ZOOM gesture and NSEventTypeRotate which is very similar to the
Gtk Rotate gesture. Those two event sequences are translated to a
sequence of GDK_TOUCHPAD_PINCH events. This sequence is then detected
in the upper gtk layers as Gtk Zoom/Rotate Gestures.
https://bugzilla.gnome.org/show_bug.cgi?id=760276
Lapo Calamandrei [Fri, 11 Mar 2016 13:56:21 +0000 (14:56 +0100)]
Adwaita: simplify vertically linked entries scss code
Matthias Clasen [Fri, 11 Mar 2016 13:50:38 +0000 (08:50 -0500)]
filechooserbutton: Fix drag highlight problems
This widget is a bit unusual in that it is a box that acts as
the drop target, while the visible content is a child of the box.
Propagate :drop(active) to the child to make the highlight visible.
Lapo Calamandrei [Fri, 11 Mar 2016 13:42:49 +0000 (14:42 +0100)]
Adwaita: drop active style fixes
taking care of:
* entries
* buttons (misses some linking logic still)
* comboboxes (untested)
* spinbuttons
Matthias Clasen [Fri, 11 Mar 2016 13:34:01 +0000 (08:34 -0500)]
calendar: Fix drag highlight problems
Don't propagate :drop(active) to components.
Matthias Clasen [Fri, 11 Mar 2016 13:07:30 +0000 (08:07 -0500)]
spinbutton: Fix drag highlight problems
Don't propagate :drop(active) to the buttons.
Matthias Clasen [Fri, 11 Mar 2016 13:01:06 +0000 (08:01 -0500)]
entry: Fix drag highlight problems
We don't want drag highlights around icons or progress, so don't
propagate the :drop(active) state to them.
Yosef Or Boczko [Fri, 11 Mar 2016 12:47:34 +0000 (14:47 +0200)]
Updated Hebrew translation
Jonas Ådahl [Fri, 11 Mar 2016 05:13:31 +0000 (13:13 +0800)]
gdk: Don't leak discarded window state event
When compressing window state events, we didn't free the discarded
event after removing it from the queue, causing us to leak it. This
commit makes sure to free the discarded event after unqueuing it.
https://bugzilla.gnome.org/show_bug.cgi?id=762468